/* 头部 */
:root {
	--totalWid: 100%;
}
header {
	width: var(--totalWid);
	height: 60px;
	border-bottom: 1px solid #aec7ec;
}
.head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 60px;
}
.head img {
	display: block;
	width: 133px;
	height: 33px;
	margin-left: 30px;
}
.navigation {
	display: flex;
	justify-content: space-between;
	width: 327px;
}
.navigation a {
	display: inline-block;
	position: relative;
	width: 50px;
	height: 57px;
	color: black;
	text-align: center;
	line-height: 57px;
}

.navigation a:hover {
	color: red;
}
.navigation .active {
	color: #00bdff;
}
.navigation .active::after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 25%;
	display: block;
	width: 50%;
	height: 3px;
	background-color: #00bdff;
	z-index: 9;
}
.login-gift {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 200px;
	height: 60px;
	line-height: 60px;
	margin-right: 30px;
}
.login-gift a {
	display: inline-block;
	width: 80px;
	height: 30px;
	color: black;
	border: #d1d1d1 1px solid;
	border-radius: 40px;
	line-height: 30px;
	text-align: center;
}
.head .gift {
	color: white;
	background-color: #ed510a;
}
.login-gift a:hover {
	color: pink;
}

/* API分类页面 */
#apismall {
	margin-bottom: 65px;
}
#apismall ul {
	height: 70px;
	align-items: center;
}
#apismall ul li.active {
	border: #00bdff 1px solid;
	color: #00bdff;
}
#apismall ul li {
	box-sizing: border-box;
	padding: 6px 10px;
	margin-left: 5px;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
}

#apismall ul li:hover {
	cursor: pointer;
}
#apiall {
	margin-bottom: 20px;
}
#apiall > p input {
	height: 30px;
	width: 230px;
	border-radius: 10px;
	background-color: #f4f4f4;
	border: 2px #f4f4f4 solid;
	outline: none;
}
#apiall > p i {
	display: inline-block;
	width: 230px;
	position: relative;
}
#apiall > p img {
	position: absolute;
	right: 20px;
	top: 7px;
}

/* API内容 */
#apicontent {
	height: 1130px;
}
#apicontent ul {
	height: 1130px;
}
#apicontent ul li {
	width: 230px;
	height: 270px;
	border: 1px #f4f4f4 solid;
}
#apicontent ul li button {
	width: 190px;
	height: 30px;
	margin-top: 46px;
	opacity: 0;
}
#apicontent ul li .apititle {
	margin: 16px 0;
}
#apicontent ul li .apiname {
	top: 0;
	left: 0;
	border-color: #aec7ec;
	color: #00bdff;
}
#apicontent ul li:hover button {
	opacity: 1;
}
#page {
	display: flex;
	margin-top: 50px;
	margin-bottom: 70px;
	justify-content: center;
}
#page ul {
	width: 420px;
	height: 22px;
}
#page ul li {
	width: 20px;
	height: 20px;
	cursor: pointer;
}
#page ul p:nth-child(9) {
	width: 40px;
}
#page ul p:nth-child(10) {
	width: 70px;
	cursor: pointer;
}
#page ul .active {
	background-color: #00bdff;
	text-align: center;
	line-height: 20px;
	color: white;
	border-radius: 50%;
}
/* mask 蒙层 */
#mask {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 70;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 30%);
}
/* 右侧内容 */
.login-right {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 400 px;
	height: 550px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: white;
}
.login-right .log {
	margin: 40px 0;
}
/* <!-- 右侧登录方式 --> */
.login-right .log a.active {
	color: #00bdff;
}
.login-right .log a {
	width: 130px;
	height: 35px;
	display: inline-block;
	text-align: center;
	line-height: 35px;
	position: relative;
}
.login-right .log a.active::after {
	position: absolute;
	content: "";
	display: block;
	width: 25px;
	height: 4px;
	left: 48px;
	bottom: -7px;
	background-color: #00bdff;
}
.login-right .log a:last-child::before {
	position: absolute;
	content: "";
	display: block;
	width: 2px;
	height: 11px;
	left: 0;
	top: 14px;
	background-color: #00bdff;
}
/* 右侧账号登录框 */
.account {
	height: 34px;
	text-align: center;
	border-bottom: 2px #00bdff solid;
}
.account span {
	display: inline-block;
	height: 30px;
	width: 25px;
	background: url(../images/loginIcon.png);
	background-position: -56px 1px;
	vertical-align: bottom;
}
.account input {
	width: 270px;
	height: 30px;
	outline: none;
	border: white 2px solid;
}
/* 右侧密码登录框 */
.password {
	height: 34px;
	text-align: center;
	border-bottom: 2px #00bdff solid;
	margin: 25px 0;
}
.password span {
	display: inline-block;
	height: 30px;
	width: 25px;
	background: url(../images/loginIcon.png);
	background-position: -26px 1px;
	vertical-align: bottom;
}
.password input {
	width: 270px;
	height: 30px;
	outline: none;
	border: white 2px solid;
}
/* 忘记密码 */
.login-right .logpwd p {
	width: 300px;
	height: 30px;
	line-height: 30px;
	position: relative;
}
.login-right .logpwd > p a {
	position: absolute;
	right: 0;
}
/* 登录按钮 */
.login-right button {
	width: 300px;
	height: 40px;
	background-color: #00bdff;
	color: white;
	text-align: center;
	line-height: 40px;
	border: #00bdff 2px solid;
	margin: 20px 0;
}
/* 微信扫码 */
.login-right .qr-code {
	display: none;
	height: 232px;
}
.wechat {
	width: 290px;
	height: 232px;
	background-color: #fcfcfc;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.wechat p:nth-child(2) {
	margin: 10px 0;
}
/* 注册链接 */
.login-right p:last-child {
	width: 364px;
	height: 30px;
	line-height: 30px;
	text-align: center;
}

/* 页面尾部 */

footer {
	width: var(--totalWid);
	position: relative;
}
.about {
	display: flex;
	justify-content: space-between;
}
.aboutus {
	width: 730px;
	height: 290px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	color: #b3b3b3;
	font-size: 12px;
}
.aboutus > div:first-child {
	width: 730px;
	height: 205px;
	display: flex;
	justify-content: space-between;
	color: #b3b3b3;
	line-height: 25px;
}
.aboutus > div ul > li:first-child {
	color: black;
	font-size: 16px;
	margin-bottom: 36px;
}
.aboutus > p {
	height: 20px;
	line-height: 20px;
}
.aboutus > p img {
	width: 15px;
	height: 20px;
	vertical-align: middle;
}
